package edu.gdit.health.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.gdit.health.base.Results;
import edu.gdit.health.dao.SysUserDao;
import edu.gdit.health.model.SysUser;
import edu.gdit.health.service.SysUserService;
@Service
public class SysUserServiceImpl implements SysUserService{
  @Autowired
   private SysUserDao sysUserDao;
	@Override
	public Results<SysUser> getAllUsers() {
		// TODO Auto-generated method stub
		return Results.success(1000,sysUserDao.getAllUsers());
	}
    @Override
    public SysUser getPwd(String username) {
        return sysUserDao.getPwd(username);
    }

}
